home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
t3_1
/
risc_src.lha
/
risc_sources
/
xlib
/
xarc.t
< prev
next >
Wrap
Text File
|
1990-06-01
|
769b
|
15 lines
(herald xarc (env tsys (xlib interface)))
(DEFINE (MAKE-XARC) (CONS 'XARCP (MAKE-BYTEV 12)))
(DEFINE (XARC-X X) (MREF-16-S (CHK-XARCP X) 0))
(DEFINE (XARC-X! X Y) (SET-MREF-16-S! (CHK-XARCP X) 0 Y))
(DEFINE (XARC-Y X) (MREF-16-S (CHK-XARCP X) 2))
(DEFINE (XARC-Y! X Y) (SET-MREF-16-S! (CHK-XARCP X) 2 Y))
(DEFINE (XARC-WIDTH X) (MREF-16-U (CHK-XARCP X) 4))
(DEFINE (XARC-WIDTH! X Y) (SET-MREF-16-U! (CHK-XARCP X) 4 Y))
(DEFINE (XARC-HEIGHT X) (MREF-16-U (CHK-XARCP X) 6))
(DEFINE (XARC-HEIGHT! X Y) (SET-MREF-16-U! (CHK-XARCP X) 6 Y))
(DEFINE (XARC-ANGLE1 X) (MREF-16-S (CHK-XARCP X) 8))
(DEFINE (XARC-ANGLE1! X Y) (SET-MREF-16-S! (CHK-XARCP X) 8 Y))
(DEFINE (XARC-ANGLE2 X) (MREF-16-S (CHK-XARCP X) 10))
(DEFINE (XARC-ANGLE2! X Y) (SET-MREF-16-S! (CHK-XARCP X) 10 Y))